package com.doxiaopu.students.user.entity;

import com.doxiaopu.students.component.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description= "平台抽成信息")
public class PlatformData extends BaseEntity {
    private static final long serialVersionUID = -5103173331422301610L;
    @ApiModelProperty(value = "抽成id")
    private Integer id;
    private String tUserId; //平台管理员id（外键）
    @ApiModelProperty(value = "余额")
    private Integer balance; //余额
    @ApiModelProperty(value = "平台抽成比例")
    private Integer takeAPercentage; //平台抽成比例

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String gettUserId() {
        return tUserId;
    }

    public void settUserId(String tUserId) {
        this.tUserId = tUserId;
    }

    public Integer getBalance() {
        return balance;
    }

    public void setBalance(Integer balance) {
        this.balance = balance;
    }

    public Integer getTakeAPercentage() {
        return takeAPercentage;
    }

    public void setTakeAPercentage(Integer takeAPercentage) {
        this.takeAPercentage = takeAPercentage;
    }

    @Override
    public String toString() {
        return "PlatformData{" +
                "id=" + id +
                ", tUserId='" + tUserId + '\'' +
                ", balance=" + balance +
                ", takeAPercentage=" + takeAPercentage +
                '}';
    }
}
